package com.enjoyor.health.HGPT.core.service;

import com.enjoyor.health.HGPT.core.dto.DialogDto;
import com.enjoyor.health.HGPT.core.entity.DialogRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 对话-用户对话记录 服务类
 * </p>
 *
 * @author enjoyor
 * @since 2023-10-18
 */
public interface IDialogRecordService extends IService<DialogRecord> {

    List<DialogDto> getDialogRecordByOpenId(String openId);

    int updateDialogRecordName(String nameNew, String dialogId);

    int updateDialogRecordState(int state, String dialogId);



}
